package com.ruoyi.business.service;

import com.ruoyi.business.domain.BusCheck;
import com.ruoyi.business.dto.CheckDto;
import com.ruoyi.common.core.domain.model.LoginUser;

import java.util.List;

/**
*内容: 
*作者: cy
*/   
    
   
public interface BusCheckService{


    int deleteByPrimaryKey(Integer id);

    int insert(BusCheck record);

    int insertSelective(BusCheck record);

    BusCheck selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BusCheck record);

    int updateByPrimaryKey(BusCheck record);

    /**
     * 汽车入库
     * @param busCheck
     * @param loginUser
     * @return
     */
        Boolean doBackCar(BusCheck busCheck, LoginUser loginUser);

    /**
     * 分页查询检查单信息
     * @param checkDto
     * @param loginUser
     * @return
     */
    List<BusCheck> selectCheckPage(CheckDto checkDto, LoginUser loginUser);
}
